package ch4;

public class MadDogTest {
    public static void main(String[] args) {
        GoodPerson p = new GoodPerson("吕洞宾", "男");
        Hedgehog h = new Hedgehog("刺头");
        Dog d1= new Dog("旺财");
        Dog d = new Dog("疯狗");
        d.bite(p);
        d.bite(h);
       d.bite(d1);
    }
}
